/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.nuboat.easyjsf.action;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;

/**
 *
 * @author nuboat
 */
@RequestScoped
@ManagedBean(name="validateAction")
public class ValidateAction extends BaseAction {

    private String str;

    public ValidateAction() {
        
    }

    public String check() {
        getSession().setAttribute("#str", this.str);
        return "validate";
    }

    public String getStr() {
        return this.str;
    }

    public void setStr(String str) {
        this.str = str;
    }

}